| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

JpgCompressionSettings.h
1 // JpgCompressionSettings.h
3 //
5
6 namespace nkImages
7 {
11 struct JpgCompressionSettings final
12 {
13 JPG_COMPRESSION _compressionType = JPG_COMPRESSION::AUTOMATIC ;
14 float _qualityFactor = 0.92f ;
15 } ;
16 }
nkImages::JpgCompressionSettings
Describes available settings for Jpeg encoding queries.
Definition: JpgCompressionSettings.h:12
nkImages::JPG_COMPRESSION::AUTOMATIC
@ AUTOMATIC
Automatically derived from given image's format. If conversion to YUV is needed (for instance from RG...
nkImages::JpgCompressionSettings::_compressionType
JPG_COMPRESSION _compressionType
Describes how pixel data should be encoded.
Definition: JpgCompressionSettings.h:13
nkImages::JpgCompressionSettings::_qualityFactor
float _qualityFactor
A quality factor to control the compression vs. quality ratio.
Definition: JpgCompressionSettings.h:14
nkImages
Encompasses all API of component NilkinsImages.
Definition: BmpEncoder.h:7
nkImages::JPG_COMPRESSION
JPG_COMPRESSION
Definition: JpgCompression.h:12